package vo;

import java.util.Date;

public class MemberVO {
	private int member_no;
	private String member_mail;
	private String member_pass;
	private Date member_regdate;
	private int member_delete;

	public MemberVO() {}

	public MemberVO(int member_no) {
		this.member_no = member_no;
	}
	
	/**
	 * updatePass
	 */
	public MemberVO(int member_no, String member_pass) {
		this.member_no = member_no;
		this.member_pass = member_pass;
	}

	/**
	 * registerMember, updatePass
	 */
	public MemberVO(String member_mail, String member_pass) {
		this.member_mail = member_mail;
		this.member_pass = member_pass;
	}
	
	public MemberVO(int member_no, String member_mail, String member_pass,
			Date member_regdate, int member_delete) {
		this.member_no = member_no;
		this.member_mail = member_mail;
		this.member_pass = member_pass;
		this.member_regdate = member_regdate;
		this.member_delete = member_delete;
	}

	public int getMember_no() {
		return member_no;
	}

	public void setMember_no(int member_no) {
		this.member_no = member_no;
	}

	public String getMember_pass() {
		return member_pass;
	}

	public void setMember_pass(String member_pass) {
		this.member_pass = member_pass;
	}

	public String getMember_mail() {
		return member_mail;
	}

	public void setMember_mail(String member_mail) {
		this.member_mail = member_mail;
	}

	public Date getMember_regdate() {
		return member_regdate;
	}

	public void setMember_regdate(Date member_regdate) {
		this.member_regdate = member_regdate;
	}

	public int getMember_delete() {
		return member_delete;
	}

	public void setMember_delete(int member_delete) {
		this.member_delete = member_delete;
	}

	@Override
	public String toString() {
		return "MemberVO [member_no=" + member_no + ", member_mail="
				+ member_mail + ", member_pass=" + member_pass
				+ ", member_regdate=" + member_regdate + ", member_delete="
				+ member_delete + "]";
	}
}
